Modified list new image test to check for the image by id