fix testcase in windows