The acts of a managing general agent are considered to be the acts of the insurer on whose behalf such agent is acting. A managing general agent may be examined as if it were the insurer pursuant to the provisions of section nine, article two of this chapter.