Core Data: create an object and delete an object.