fix an issue when runnint tests on windows