Fixing test failure on Windows