- fix insert order of tree
- run test under unittest
- remove returned ref from append()