Implement and mock .del method