Added tests to js_injector class.
Added client handler, unfortunately tests are not! working.