separate test cases from rMPI.c