Final version of mpi_test