Complete tests for layout