Added some JS tests.
Added stubs for all methods in BaseScriptEngine and JavaScriptEngine.