Assert that layout is not called before imagesLoaded in test