Added test scenario for newlines.

Testcase is failing. Bug report.