Some fixes and test case for node network.