fixed issues in polyglot test case for neo4j