You may want to specifically check that the `_dirty` flag is set as expected, and probably add some code that tests the delete case that @zaggino pointed out.