more tests for smart whitespace trimming