TST: fix test failures on 32-bit platforms due to np.intc != np.int32

To clarify: both are 32-bit integers but they don't compare equal.