fixing test failures occur in windows environment