Added test case for delete