Update TEST1.java

Exception for cannot connect to Internet