Added test for injector.