@Test
public void testExecuteFunction() {

	String script = "function plusTwo(x) { return x + 2;}";
	engine.executeScript(script);
	Double out = (Double) engine.executeFunction("plusTwo", 5);
	Assert.assertEquals(7.0, out, 0.0);
}