anchor.diff:  resolves_conflicts(Config) ->
       %% given
       [Node | _] = ?config(op_worker_nodes, Config),
  -    {Sp1, Sh1, U1, G1} = {?ID(sp1), ?ID(sh1), ?ID(u1), ?ID(g1)},
  +    {Sp1, Sh1, U1, G1, HS1, H1} =
  +        {?ID(sp1), ?ID(sh1), ?ID(u1), ?ID(g1), ?ID(hs1), ?ID(h1)},
       push_update(Node, [
           update(1, [<<"r3">>, <<"r2">>, <<"r1">>], Sp1, space(<<"space xp">>)),
           update(2, [<<"r3">>, <<"r2">>, <<"r1">>], Sh1, share(<<"share xp">>, Sp1)),
  
positive.code: applies_deletion(Config) ->
      %% given
      [Node | _] = ?config(op_worker_nodes, Config),
      {P1, Sp1, Sh1, U1, G1} = {?ID(p1), ?ID(sp1), ?ID(sh1), ?ID(u1), ?ID(g1)},
      push_update(Node, [
          update(1, [<<"r2">>, <<"r1">>], Sp1, space(<<"space">>)),
          update(2, [<<"r2">>, <<"r1">>], Sh1, share(<<"share">>, Sp1)),
          update(3, [<<"r2">>, <<"r1">>], G1, group(<<"group">>)),
          update(4, [<<"r2">>, <<"r1">>], U1, user(<<"onedata">>, [], [], Sp1)),
          update(5, [<<"r2">>, <<"r1">>], P1, provider(<<"diginet">>))
      ]),
      expect_message([], 5, []),
  
      %% when
      push_update(Node, [
          update(6, undefined, P1, {<<"provider">>, <<"delete">>}),
          update(8, undefined, Sp1, {<<"space">>, <<"delete">>}),
          update(9, undefined, G1, {<<"group">>, <<"delete">>}),
          update(7, undefined, Sh1, {<<"share">>, <<"delete">>}),
          update(10, undefined, U1, {<<"user">>, <<"delete">>})
      ]),
      expect_message([], 10, []),
  
      %% then
      ?assertMatch({error, {not_found, space_info}},
  
negative.code:         update(4, [<<"r3">>, <<"r2">>, <<"r1">>], U1,
              user(<<"onedata ftw">>, [<<"A">>, <<"B">>],
                  [{<<"C">>, <<"D">>}, {<<"E">>, <<"F">>}], <<"C">>)
          ),
          update(5, [<<"r3">>, <<"r2">>, <<"r1">>], HS1,
              handle_service(<<"handle service first">>, [], [])),
          update(6, [<<"r3">>, <<"r2">>, <<"r1">>], H1,
              handle(HS1, <<"someId">>, [], []))
      ]),
      expect_message([], 6, []),
  
      %% when
      push_update(Node, [
          update(7, [<<"r2">>, <<"r1">>], Sp1, space(<<"space">>)),
          update(8, [<<"r2">>, <<"r1">>], Sh1, share(<<"share">>, Sp1)),
          update(9, [<<"r3">>], G1, group(<<"group">>)),
          update(10, [<<"r3">>, <<"r2">>, <<"r1">>], U1,
              user(<<"onedata">>, [], [], Sp1)
          ),
          update(11, [<<"r2">>, <<"r1">>], HS1,
              handle_service(<<"handle service second">>, [], [])),
          update(12, [<<"r2">>, <<"r1">>], H1,
              handle(HS1, <<"someOtherId">>, [], []))
      ]),
      expect_message([], 12, []),
  
      %% then
      ?assertMatch({ok, #document{key = Sp1, value = #space_info{
  