The court, justice, master in chancery, master, auditor or county commissioners may in such case issue a warrant to bring such witness before them to answer for the contempt, and also to testify in the case in which he was summoned.
Mass. Gen. Laws ch. 233, § 6