Delete method does not throw exception if object does not exist in the database.
How should afterUpdate method be triggered when saving object does not result in MySQL query?
Fixed the testDeleteExistingObject and testDeleteNotExistingObject test cases.