anchor.diff:          tests_utils:delete(BaseUrl, "/presence/" ++ UglySid, ParamsDelete).
   
   test_presence_close_not_foundsid(BaseUrl) ->
  -    Params = [{"metadata[nickname]", "PasswordParticipant"},
  -              {"name", "participant.user@af83.com"},
  -              {"credential", "pwd"}],
       {struct,[{"result", {struct, [{"uid", Id},
  -                                  {"sid",Sid}]}}]} = tests_utils:post(BaseUrl, "/presence/", Params),
  +                                  {"sid", Sid}]}}]} = create_presence(BaseUrl, "participant.user@af83.com", "pwd"),
   
       ParamsDelete = [{"uid", Id},
                       {"sid", Sid}],
  
positive.code:                        {"user",_}, %%"participant.user@af83.com"},
                         {"auth","password"},
                         {"metadata", {struct, [{"nickname", "PasswordParticipantGet"}]}}]}}]} =
          tests_utils:get(BaseUrl, "/presence/" ++ Sid, []).
  
  test_presence_get_not_found(BaseUrl) ->
      {struct,[{"error", "not_found"}]} =
          tests_utils:get(BaseUrl, "/presence/unexistent_sid", []).
  
  test_presence_close(BaseUrl) ->
      Uid = "participant.user@af83.com",
      Params = [{"metadata[nickname]", "PasswordParticipant"},
                {"name", Uid},
                {"credential", "pwd"}],
      {struct,[{"result", {struct, [{"uid", Id},
                                    {"sid",Sid}]}}]} = tests_utils:post(BaseUrl, "/presence/", Params),
  
      ParamsDelete = [{"uid", Id},
                      {"sid", Sid}],
  
negative.code: 
  test_presence_timeout(BaseUrl) ->
      DefaultTimeout = config:get(timeout_refresh),
      {struct,[{"result", {struct, [{"uid", Uid}, {"sid", Sid}]}}]} =
          create_presence(BaseUrl, "participant.user@af83.com", "pwd", [{"timeout", integer_to_list(DefaultTimeout)}]),
      timer:sleep(DefaultTimeout * 2000),
      ParamsDelete = [{"uid", Uid},
                      {"sid", Sid}],
  