anchor.diff:      {stop, Reply} =
           handle_message({rexi_EXIT, 1},lists:nth(3,Shards),Acc2),
   
  -    ?assertEqual([{Doc1, {ok, Doc2}},{Doc2, {ok,Doc1}}],Reply).
  +    ?assertEqual({accepted, [{Doc1,{accepted,Doc2}}, {Doc2,{accepted,Doc1}}]},
  +        Reply).
   
   doc_update3_test() ->
       Doc1 = #doc{revs = {1,[<<"foo">>]}},
  
positive.code:     ?assertEqual(WaitingCountW2_1,2),
      {stop, FinalReplyW2 } =
          handle_message({ok, [{ok, Doc1}]},lists:nth(2,Shards),AccW2_1),
      ?assertEqual([{Doc1, {ok,Doc1}}],FinalReplyW2),
  
      % test for W = 3
      AccW3 = {length(Shards), length(Docs), list_to_integer("3"), GroupedDocs,
  
negative.code:     {stop, Reply} =
          handle_message({ok, [{ok, Doc1},{ok, Doc2}]},lists:nth(3,Shards),Acc2),
  
      ?assertEqual({ok, [{Doc1, {ok, Doc2}},{Doc2, {ok,Doc1}}]},Reply).
  
  % needed for testing to avoid having to start the mem3 application
  group_docs_by_shard_hack(_DbName, Shards, Docs) ->
  