test the image window