fixed a test on windows