test for image spec