added utils and test for LayoutContainer