pass unit test of mdhimCommit and mdhimStatFlush

The unit tests including 1/2/4/16 ranks.