fix test errors due to neo4j upgrade