Added some basic unit tests for node types. Still have to write tests for data nodes. And every thing else.