test for layout