test for injector creator