Add test for jpeg from tar file