added failing test on newCompositeQuery