refactor teste