Fix test for Windows