create instance for jasmine using injector