Test implementation of red-black tree