add test for get_tree view