test refacto