Add test for composite