ResolveExternals security flag. ExternalReference unit test