Fixed issue in COB-tree. Created unit-test for BGL-style trees.