Some unit tests for ScriptInjector.