Test: Adding visual representation of path walk.

Bug fix: need to properly link path nodes when walking up the tree.