Refactores test.