Test refacor