tests: Add tests for mpi_cmp.