fix tests on Windows