Added a test which checks for new line characters and substitutes them for commas