test for composite layout