Fix test that fails on windows.