Test for mhash.