@Test
public void shouldClearEngineScopeOnReset() throws Exception {
final GremlinGroovyScriptEngine engine = new GremlinGroovyScriptEngine();
engine.eval("x = { y -> y + 1}");
Bindings b = engine.getContext().getBindings(ScriptContext.ENGINE_SCOPE);
assertTrue(b.containsKey("x"));
assertEquals(2, ((Closure) b.get("x")).call(1));
// should clear the bindings
engine.reset();
try {