createTestInjector uses bindings that are missing PLATFORM_DIRECTIVES.
This means that if a user defines a component that uses NgIf for example but doesn't specify an explicit dependency via @Component({directives}), it will work in the app but fail in tests.