Fix test failure on windows because of slowness