Tests for JS.injectJS written