Added JsTestBase base class for tests