Try catch statement for mpi tests, fixes #21