Escaped \r\n in all test checks.
Avoid freakoutery on invalid delims.

The specs tests assumes an implementation will silently ignore invalid delims.
I think that's a bad idea, so I throw an exception on invalid delims. So I just
ignore those "tests".
Properly trim whitespace around delims tag.

This includes consolidation of other whitespace trimming to avoid duplication
with the delims trimming code.