add unit test cases for rmkit.tree
fix a bug in Node class causing endless recursion loop in test code