Updated example with a newline test