If the NSManagedObject subclasses are added to the test targets the compiler does not give an error about the type being unknown.