Bug fix in NetworkTestUtil