anchor.diff:  
   
   get_should_return_current_cluster_details_test(Config) ->
  -    ?FOREACH_HOST(Config, fun(Host) ->
  +    ?eachHost(Config, fun(Host) ->
           ClusterId = get_cluster_id(Host, Config),
           {_, _, _, JsonBody} = ?assertMatch({ok, 200, _, _},
               onepanel_test_rest:auth_request(
  
positive.code: 
  
  get_should_return_cluster_details_test(Config) ->
      ?FOREACH_HOST(Config, fun(Host) ->
          lists:foreach(fun(ClusterId) ->
              {_, _, _, JsonBody} = ?assertMatch({ok, 200, _, _},
                  onepanel_test_rest:auth_request(
  
negative.code: 
  
  %%%===================================================================
  %%% Test macros
  %%%===================================================================
  
  -define(eachHost(Config, Fun), lists:foreach(Fun, ?config(all_hosts, Config))).
  
  -define(eachEndpoint(Config, Fun, EndpointsWithMethods),
      lists:foreach(fun({_Host, _Endpoint, _Method}) ->
          try
              Fun(_Host, _Endpoint, _Method)
          catch
              error:{assertMatch_failed, _} = _Reason ->
                  ct:print("Failed on: ~s ~s (host ~s)", [_Method, _Endpoint, _Host]),
                  erlang:error(_Reason)
          end
      end, [
          {_Host, _Endpoint, _Method} ||
          {_Endpoint, _Method} <- EndpointsWithMethods,
          _Host <- ?config(all_hosts, Config)
      ])
  ).
  
  
  %%%===================================================================
  %%% Test functions
  %%%===================================================================
  
  
  local_user_should_get_forbidden_error_test(Config) ->
      ?eachEndpoint(Config, fun(Host, Endpoint, Method) ->
          ?assertMatch({ok, 403, _, _}, onepanel_test_rest:auth_request(
              Host, <<Endpoint/binary>>, Method,
              ?ROOT_AUTHS(Host) ++ ?REGULAR_AUTHS(Host)
          ))
      end, [
          {<<"/user/clusters/">>, get},
          {<<"/user/clusters/someCluster">>, get},
          {<<"/providers/someProvider">>, get}
      ]).
  
  
  get_should_return_clusters_list_test(Config) ->
      ?eachHost(Config, fun(Host) ->
          {_, _, _, JsonBody} = ?assertMatch({ok, 200, _, _},
              onepanel_test_rest:auth_request(
                  Host, <<"/user/clusters/">>, get,
  