test for newlines