Added test for image view layout refresh