fixed deletion test cases.