Update MPI test to work with python3
Merge pull request #1561 from lamblin/fix_mpi_python3

Update MPI test to work with python3