refactoring nos testes