util/rb_tree: Add the unit tests