fix red-black tree test case