anchor.diff:           server_info/1,
            get_uuid/1, get_uuids/2,
            replicate/2, replicate/3, replicate/4,
  +         get_config/1, get_config/2, get_config/3,
  +         set_config/4, set_config/5,
  +         delete_config/3, delete_config/4,
            all_dbs/1, all_dbs/2, db_exists/2,
            create_db/2, create_db/3, create_db/4,
            open_db/2, open_db/3,
  
positive.code:         {<<"target">>, couchbeam_util:to_binary(Target)} | Options
      ],
      replicate(Server, {RepProp}).
  
  %% @doc get list of databases on a CouchDB node
  %% @spec all_dbs(server()) -> {ok, iolist()}
  
negative.code:     ?assert(is_binary(InstanceStartTime)),
      ok.
  
  config_test() ->
      Server = couchbeam:server_connection(),
      {ok, {AllConfig}} = couchbeam:get_config(Server),
      ?assert(proplists:is_defined(<<"httpd">>, AllConfig)),
      {ok, {HttpdConfig}} = couchbeam:get_config(Server, <<"httpd">>),
      ?assert(proplists:is_defined(<<"port">>, HttpdConfig)),
      {ok, Port} = couchbeam:get_config(Server, <<"httpd">>, <<"port">>),
      ?assertEqual(<<"5984">>, Port),
      ?assertMatch({ok, <<>>}, couchbeam:set_config(Server, <<"couchbeam">>,<<"test">>, <<"1">>, false)),
      ?assertEqual({ok, <<"1">>}, couchbeam:get_config(Server, <<"couchbeam">>,<<"test">>)),
      ?assertEqual({ok, <<"1">>}, couchbeam:set_config(Server, <<"couchbeam">>,<<"test">>, <<"2">>,  false)),
      ?assertEqual({ok, <<"2">>}, couchbeam:get_config(Server, <<"couchbeam">>, <<"test">>)),
      ?assertEqual({ok, <<"2">>}, couchbeam:delete_config(Server, <<"couchbeam">>, <<"test">>, false)),
      ?assertEqual({error, not_found}, couchbeam:get_config(Server, <<"couchbeam">>,  <<"test">>)),
      ok.
  
  collect_mp({doc, Doc, Next}, Acc) ->
      collect_mp(couchbeam:stream_doc(Next), [{doc, Doc} | Acc]);
  collect_mp({att, Name, Next}, Acc) ->
  