Added tests for evaluateJavascript