The acts of the managing general agent shall be considered to be the acts of the insurer on whose behalf it is acting. A managing general agent may be examined as if it were the insurer.