Fixes node::prepend_child() to properly set parent reference for added child.
Fixes node::root() to correctly return root node pointer.
Adds more node tests.