I would be perfectly satisfied with a smaller test for `mpi_type_for_ndarray`, btw. I could shorten it to just call for one argument type, and not care about the specific value. That way we wouldn't be testing mpi4py, and would have less code to maintain. I think we probably should test at least that much though.