"director, managing agent, or other person who consents to testify in its behalf may be deposed by" . . . . .