anchor.diff:  %%--------------------------------------------------------------------
   -spec prepare_test_environment(Config :: list(), DescriptionFile :: string(),
       TestModule :: module(), LoadModules :: [module()], Apps :: [{AppName :: atom(), ConfigName :: atom()}])
  -      -> Result :: list() | {fail, tuple()}.
  +        -> Result :: list() | {fail, tuple()}.
   prepare_test_environment(Config, DescriptionFile, TestModule, LoadModules, Apps) ->
       try
           DataDir = ?config(data_dir, Config),
  
positive.code: %% @end
  %%--------------------------------------------------------------------
  -spec get_cookies(Nodes::[node()] | [] | undefined , AppName :: string(), CookieKey :: string(),
          DescriptionFile :: string()) -> [{Node :: node(), Cookie :: atom()}] | [].
  get_cookies(undefined, _AppName, _CookieKey, _DescriptionFile) -> [];
  get_cookies([], _AppName, _CookieKey, _DescriptionFile) -> [];
  get_cookies(Nodes, AppName, CookieKey, DescriptionFile) ->
      lists:map(fun(Node) ->
  
          Key = case AppName of
                globalregistry ->
                    get_json_key(Node, "globalregistry_domains", "globalregistry", CookieKey);
                op_ccm ->
                    get_json_key(Node, "provider_domains", "op_ccm", CookieKey);
                op_worker ->
                    get_json_key(Node, "provider_domains", "op_worker", CookieKey);
                cluster_worker ->
                    get_json_key(Node, "cluster_domains", "cluster_worker", CookieKey)
            end,
  
          {Node, json_parser:get_value(Key, DescriptionFile, "/")}
      end, Nodes).
  
negative.code: %% @end
  %%--------------------------------------------------------------------
  -spec get_json_key(Node :: atom(), Domain :: string(), NodeType :: string(),
      Key :: string()) -> string().
  get_json_key(Node, Domain, NodeType, Key) ->
      [NodeName, DomainName | _] = string:tokens(utils:get_host(Node), "."),
      string:join([Domain, DomainName, NodeType, NodeName, Key], "/").
  