fixed tests for delete