Testing an image file