Tests of Refactoring.