fixed test_delete