test_sanity: Fix test for Windows 7.