tests with layout