Test rb_tree