Added tests for delete