test for compose ordering