trailing newline test