anchor.diff:  -define(t2l(V), lists:flatten(io_lib:format("~p", [V]))).
   
   start() ->
  -    Ctx = test_util:start_couch([chttpd]),
  +    Ctx = test_util:start_couch([chttpd, global_changes]),
       DbName = ?tempdb(),
       ok = fabric:create_db(DbName, [?ADMIN_CTX]),
       application:set_env(global_changes, dbname, DbName),
  
positive.code:     config:delete("global_changes", "allowed_owner", false),
      ok.
  
  allowed_owner(Req, "throw") ->
      throw({unauthorized, <<"Exception thrown.">>});
  allowed_owner(Req, "pass") ->
      "super".
  
  allowed_owner_hook_test_() ->
  
negative.code: 
  get_host() ->
      Addr = config:get("httpd", "bind_address", "127.0.0.1"),
      Port = integer_to_list(mochiweb_socket_server:get(chttpd, port)),
      Host = "http://" ++ Addr ++ ":" ++ Port,
      Host.
  