trying some improvements to node.go
Fixed a problem with one of the tests - other minor improvements