moved unit test for layout classes to new layout package