Add unit test for JsRunListener.