test -- validate managedObjectContext is not nil