TST: fix cumcount test on 32-bit env
Merge pull request #5540 from gdraps/cumcount-test-fix

TST: fix cumcount test on 32-bit env