Tests refactorings.