Completed NetworkTest.java