Use newline as delimiter for all cases in test for reverseNumbers.