anchor.diff:               KeyPath = "/tmp/opscode-platform-test/clownco-org-admin.pem",
                ReqConfig = chef_req:make_config("http://localhost",
                                                 "clownco-org-admin", KeyPath),
  -             {_, ClientConfig} = make_client("clownco", "client01", ReqConfig),
  +             {_, ClientConfig} = chef_req:make_client("clownco", "client01", ReqConfig),
                ClientConfig
        end,
        fun(#req_config{name = Name}=ReqConfig) ->
  -             delete_client("clownco", Name, ReqConfig)
  +             chef_req:delete_client("clownco", Name, ReqConfig),
  +             test_utils:test_cleanup(ignore)
        end,
        fun(ReqConfig) ->
                [
  
positive.code:                                   "clownco-org-admin", KeyPath)
       end,
       fun(_X) ->
               stopping
       end,
       fun(ReqConfig) ->
               [
  
negative.code:                         Path = search_path("clownco", "node",
                                             "no_field:not_exist"),
                          {ok, "401", _H, Body} = chef_req:request(get, Path, Config),
                          ?assertEqual(<<"{\"error\":[\"'clownco-org-admin' not "
                                         "associated with organization 'clownco'\"]}">>,
                                       Body)
                  end}
               ]
       end
      }.
  
  search_path(Org, Type, Query) ->
      "/organizations/" ++ Org ++ "/search/" ++ Type
          ++ "?q=" ++ Query.
  