Fixed test on Windows