converted test_mpi_derivatives into mpi unit test