Added test cases for image presence