Use layout in test case.