Refactoring tests and adding tests for creating a node.

No match.