Use newline as delimiter in test for reverseNumbers.