Fix network init call to fix test case