fixed unit test on Windows