write a test for no newline \{