Since the default configuration is wgAllowExternalImages=false, this should be the default for parser tests as well, and the (few) tests which exercise external images should explicitly set wgAllowExternalImages=1 in their !!options section.
(Also: Parsoid doesn't support AllowExternalImages=true, so this helps reduce divergences between parsoid and core tests.)