unit tests for DefaultNodeManager