refactoring CalculatorTest