If either party sue or be sued as an executor or administrator, and there are mutual debts or credits or other claims between his or her testator or intestate and the other party, 1 debt or credit may be set off against the other and a counterclaim may be asserted as in other actions.