added junit, a mian method and some tests to 'AthirdClass.java'