Accept \r\n line endings in tests

I'm not 100% this is the right thing to do.  Perhaps page templates
should normalize OS line endings to \n?