Fix issue with gremlin queries
Enhanced test for gremlin queries
Added javascript queries
Added test for javascript