Fix test for Windows compatibility

The test responses strings were using platform dependent new lines. This causes the tests to fail on Windows. This fix makes the responses platform independent.