added new tests; fix bugs in RedBlackTree.py