Add tests for cascaded layouts.