testnodes: wrote more tricky tests and fixed others.
nodes.explorePath: fixed bugs.