Added test for _tree_log() to address issue #13