Network test code now fully functional