using a special Layout instance to make sure this test is more robust