Modified composite type test for neo4j