A party who calls the adverse party as a witness shall be allowed to cross-examine him. In case the adverse party is a corporation, an officer or agent thereof, so called as a witness, shall be deemed such an adverse party for the purposes of this section.
Mass. Gen. Laws ch. 233, § 22