Test factories for Neo4j graph databases