added more JavaDoc to NodePath + a test for NodePath