Adding a constructor to Node for unit tests
added unit tests. about to push to RG