Test refactoring of reducing magic numbers.