Make tests more robust to Windows line endings.