minor windows compat in tests
Merge pull request #781 from ccanepa/windows-compatibility-in-tests

minor windows compat in tests