fix unittest and switch from junit to testng