MTLManagedObjectAdapter: Add tests for validating values
Managed object adapter: Fixes an issue where validation for insert

Fixes an issue where validation for insert would return a deleted
managed object without an error

When it does this in combination with
`relationshipModelClassesByPropertyKey` CoreData could raise an
exception for using setting child’s in a different context (because it
doesn’t have a context)