Speed up offset tests on Windows.

Writing a file on Windows with an offset of MAX_INT32 takes
a huge amount of time (~10 seconds) so we decrease the offset
on Windows.
Fixed process noargs test on Windows.
Merge pull request #145 from schlamar/test-improvements

Test improvements for Windows