Updated the tests to account for multiple new lines.