Fixed test case which failed on Windows