windows test fixes: Windows EOL includes CR

The tests used regex for \n but did not allow for \r\n on windows. This
left \r in the expected result which did not match the actual result.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>