TST: fix indexing test for windows failure

Fixes new / remaining test failure in #4866