testmg