Added test for delete