added more code

in test1 java file