test for image key