passed the test for delete