tests: mpi-fix for GTest

each MPI task should return the same test result; otherwise it might
happen that the test passed on rank 0 but one of the minor ranks finally
wins the race on returning from main