added test for how ImageViewer should behave