Make `Ranges` test work on all platforms.

I think the newlineness of the source file was changing and affecting the outcome of the test.
Merge pull request #59 from JayBazuzi/fix-ranges-test2

Make `Ranges` test work on all platforms.