testnodes: wrote more tests for explorePath.
nodes: fixed bug.
Merge with josh