Added a test for the node manager