Building recursive array tree with tests
Html tree builder with tests