Update Example2.java

Method initTest changed