Test for image loading