Add unit test for newline in dict values