anchor.diff:      false = riak_object:equal(O2, O5),
       false = riak_object:equal(O4, O5).
   
  +determinstic_most_recent_test() ->
  +    MD = dict:store(<<"X-Riak-Last-Modified">>,
  +                    httpd_util:rfc1123_date(),
  +                    dict:new()),
  +    O1 = riak_object:new(<<"test">>, <<"a">>, "value1", MD),
  +    O2 = riak_object:new(<<"test">>, <<"a">>, "value2", MD),
  +
  +    C1 = hd(O1#r_object.contents),
  +    C2 = hd(O2#r_object.contents),
  +
  +    C3 = most_recent_content([C1, C2]),
  +    C4 = most_recent_content([C2, C1]),
  +
  +    ?assertEqual(C3, C4),
  +    ?assertEqual(C1, C3),
  +    ?assertEqual(C1, C4),
  +
  +    %% Mark O1 as deleted
  +    MD2 = dict:store(<<"X-Riak-Deleted">>, true, MD),
  +    O3 = riak_object:apply_updates(riak_object:update_metadata(O1, MD2)),
  +
  +    C5 = hd(O3#r_object.contents),
  +    C6 = most_recent_content([C5, C2]),
  +    C7 = most_recent_content([C2, C5]),
  +
  +    ?assertEqual(C2, C6),
  +    ?assertEqual(C2, C7).
  +
   get_update_value_test() ->
       O = riak_object:new(<<"test">>, <<"test">>, old_val),
       NewVal = new_val,
  
positive.code:         [] -> rem_dup_objs(Rest,[O|Acc]);
          _ -> rem_dup_objs(Rest,Acc)
      end.
  
  compare_content_dates(C1,C2) ->
      % true if C1 was modifed later than C2
  
negative.code:     AllContents = lists:flatten([O#r_object.contents || O <- RObjs]),
      Contents = case AllowMultiple of
          false ->
              [most_recent_content(AllContents)];
          true ->
              AllContents
      end,
  