Delete() and delete test work correctly