add tests for rb_tree, beginning of impl, change struct members