fix test for image