added handleElemMod() tests