Add unit tests for NodeManager update node