Calling delete on an unsaved object should not raise an exception