Added network test code to Robot.java