refactoring with testNg retry analiser