Add write line in Test.java file