Added test for layouts nesting n times