added testcase
fixed list-to-tree function
fixed min depth
fixed root node
removed 'root'
added 'root'
added test case without root
Merge branch 'hotfix/list-to-tree' into develop