TST: fix up for 32-bit indexers w.r.t. (GH8669)

xref #8669