Added test for new lines