fixed sanity test on Windows