fix
by
VG
:

Fixed bugs in TreeWalkerImpl, methods getRoot, getCurrentNode,
nextNode, previousNode. Added TreeWalker unit test.