test for newline