anchor.diff:  %%              -> {ok, db()}
   open_db(#server{options=IbrowseOpts}=Server, DbName, Options) ->
       Options1 = couchbeam_util:propmerge1(Options, IbrowseOpts),
  -    {ok, #db{server=Server, name=DbName, options=Options1}}.
  +    {ok, #db{server=Server, name=dbname(DbName), options=Options1}}.
       
   
   %% @doc Create a client for connecting to a database and create the
  
positive.code: %%                 Options::optionList(), Params::list()) -> {ok, db()|{error, Error}} 
  create_db(#server{options=IbrowseOpts}=Server, DbName, Options, Params) ->
      Options1 = couchbeam_util:propmerge1(Options, IbrowseOpts), 
      Url = make_url(Server, DbName, Params),
      case request(put, Url, ["201"], IbrowseOpts) of
          {ok, _Status, _Headers, _Body} ->
              {ok, #db{server=Server, name=DbName, options=Options1}};
  
negative.code: uuids_url(Server) ->
      binary_to_list(iolist_to_binary([server_url(Server), "/", "_uuids"])).
  
  dbname(DbName) when is_list(DbName) ->
      DbName;
  dbname(DbName) when is_binary(DbName) ->
      binary_to_list(DbName);
  dbname(DbName) ->
      erlang:error({illegal_database_name, DbName}).
  
  db_url(#db{name=DbName}) ->
      [DbName].
  
  