add main method to class Test1