added a test for delete