anchor.diff:              false ->
                   ChangesArgs0
           end,
  -        FeedFun = couch_changes:handle_changes(ChangesArgs, Req, Db),
  +        FeedFun = couch_changes:handle_db_changes(ChangesArgs, Req, Db),
           try
               FeedFun({Callback, []})
           catch throw:{stop, _} ->
  
positive.code:         save_doc(Db, {[{<<"_id">>, <<"doc5">>}]})
      ]],
      Rev = lists:nth(3, Revs),
      {ok, Rev1} = save_doc(Db, {[{<<"_id">>, <<"doc3">>}, {<<"_rev">>, Rev}]}),
      Revs1 = Revs ++ [Rev1],
      Revs2 = Revs1 ++ [R || {ok, R} <- [
          save_doc(Db, {[{<<"_id">>, <<"doc6">>}]}),
          save_doc(Db, {[{<<"_id">>, <<"_design/foo">>}]}),
          save_doc(Db, {[{<<"_id">>, <<"doc7">>}]}),
          save_doc(Db, {[{<<"_id">>, <<"doc8">>}]})
      ]],
      {DbName, list_to_tuple(Revs2)}.
  
  
negative.code:     deleted = false
  }).
  
  setup() ->
      DbName = ?tempdb(),
      {ok, Db} = create_db(DbName),
  