fix broken test on Windows