fix broken tests on windows

This PR may seem unimportant but the test suite should pass on windows.