Add a mock of the delete method