add a workaround to a MPICH bug in MPI_Test that hangs

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>