Fixed: Certain unittests fail on Windows due to extra \n.

This doesn't fix the \n problem in the partials unittest (ie, the problem that occurs on both Windows and Linux. I'll look into that problem next), but it does fix the unittests that were only failing on Windows.