Add test for reading jpgs from a file.