tests for whitespace and line breaks