Fix test when running on Windows