Added a test for string with newline