TST: fix indexing test for windiws failure

Fixes new / remaining test failure in #4866