refactoring dos testes