Loosen the test to make it pass on Windows. This reapplies commit 4993eff3. This reverts commit 96c66040.