Added test for layout type