Testng Factory implementation