Add tests for newlines