Finished unit tests for the Nodes and fixed the associated bugs.