Updated test case for delete