fixed tests on Windows