test addMod, subMod