anchor.diff:          {<<"discharge-macaroons">>, BoundMacaroonsValue}
       ].
   
  -update_req_params(ReqParams, NewParam, headers) ->
  -    {RestAddress, Headers, Options} = ReqParams,
  +update_req_params({RestAddress, Headers, Options}, NewParam, headers) ->
       {RestAddress, Headers ++ NewParam, Options};
  -update_req_params(ReqParams, NewParam, options) ->
  -    {RestAddress, Headers, Options} = ReqParams,
  +update_req_params({RestAddress, Headers, Options}, NewParam, options) ->
       {RestAddress, Headers, Options ++ NewParam};
  -update_req_params(ReqParams, NewParam, address) ->
  -    {_, Headers, Options} = ReqParams,
  +update_req_params({_, Headers, Options}, NewParam, address) ->
       {NewParam, Headers, Options}.
   
   %% Provider functions =====================================================
  
positive.code: 
  end_per_testcase(_, Config) ->
      {KeyFile, CSRFile, CertFile} = ?config(cert_files, Config),
      file:delete(KeyFile),
      file:delete(CSRFile),
      file:delete(CertFile).
  
negative.code:                 get_providers_supporting_space_test,
                  get_info_of_provider_supporting_space_test,
                  delete_provider_supporting_space_test,
                  set_space_privileges_test
              ]
          },
          {
              handle_services_rest_module_test_group,
              [],
              [
                  create_doi_service_test,
                  create_pid_service_test,
                  list_services_test,
                  get_service_test,
                  modify_service_test,
                  delete_service_test,
                  add_user_to_service_test,
                  list_service_users_test,
                  delete_user_from_service_test,
                  add_group_to_service_test,
                  list_service_groups_test,
                  delete_group_from_service_test,
                  get_user_privileges_for_service_test,
                  set_user_privileges_for_service_test,
                  get_group_privileges_for_service_test,
                  set_group_privileges_for_service_test
              ]
          },
          {
              handles_rest_module_test_group,
              [],
              [
                  create_doi_handle_test,
                  create_pid_handle_test,
                  list_handles_test,
                  get_handle_test,
                  modify_handle_test,
                  delete_handle_test,
                  delete_handle_test,
                  add_user_to_handle_test,
                  list_handle_users_test,
                  delete_user_from_handle_test,
                  add_group_to_handle_test,
                  list_handle_groups_test,
                  delete_group_from_handle_test,
                  get_user_privileges_for_handle_test,
                  set_user_privileges_for_handle_test,
                  get_group_privileges_for_handle_test,
                  set_group_privileges_for_handle_test
              ]
          }
      ].
  