Added new test: accepting newline as delimiter
StringCalculator refactoring