Working Hierarchical tree
Review changes for hierarchical facet tree

added tests, addressed review comments by @jonescc