anchor.diff:                              {login, "existing_user"},
                               {name, "Existing User"},
                               {teams, ["Updated team"]},
  -                            {email, "some.other@email.com"},
  +                            {emails, ["some.other@email.com"]},
                               {dn_list, ["O=new-dn"]}
                           ],
                       % User record after updating teams
  
positive.code:                             end;
                              (dao_users, save_user, [UserDoc], _) ->
                                  case UserDoc of
                                      UserWithUpdatedTeams -> {ok, "uuid_after_teams"};
                                      UserWithUpdatedEmailList -> {ok, "uuid_after_emails"};
                                      SynchronizedUser -> {ok, "uuid_after_synchronization"};
  
negative.code:                     meck:expect(dao_lib, apply,
                          fun(dao_users, get_user, [Key], _) ->
                              case Key of
                                  {global_id, GID} when is_list(GID) -> {ok, #veil_document{record = #user{}}};
                                  {login, Login} when is_list(Login) -> {ok, #veil_document{record = #user{}}};
                                  {email, Email} when is_list(Email) -> {ok, #veil_document{record = #user{}}};
                                  {uuid, UUID} when is_list(UUID) -> {ok, #veil_document{record = #user{}}};
  