Refactores tests