anchor.diff:      % given
       Workers = [Worker | _] = ?config(op_worker_nodes, Config),
       Endpoint = rest_endpoint(Worker),
  -    test_utils:mock_expect(Workers, rest_handler, is_authorized, fun test_throw_400_with_description/2),
  -
  -    % when
  -    {ok, Status, _, Body} = do_request(get, Endpoint ++ "random_path"),
  +    test_utils:mock_expect(Workers, files, is_authorized, fun test_throw_400_with_description/2),
  +
  +    % when
  +    {ok, Status, _, Body} = do_request(get, Endpoint ++ "files"),
   
       % then
       ?assertEqual(400, Status),
  
positive.code:     % given
      Workers = [Worker | _] = ?config(op_worker_nodes, Config),
      Endpoint = rest_endpoint(Worker),
      test_utils:mock_expect(Workers, rest_handler, is_authorized, fun test_throw_400/2),
  
      % when
      {ok, Status, _, _} = do_request(get, Endpoint ++ "random_path"),
  
      % then
      ?assertEqual(400, Status).
  
negative.code:     KnownCertOpt = {ssl_options, [{certfile, CertKnown}, {reuse_sessions, false}]},
  
      % then - unauthorized access
      {ok, 307, Headers, _} = do_request(get, Endpoint ++ "files", [], <<>>, [UnknownCertOpt]),
      Loc = proplists:get_value(<<"location">>, Headers),
      ?assertMatch({ok, 401, _, _}, do_request(get, Loc, [], <<>>, [UnknownCertOpt])),
  
      % then - authorized access
      {ok, 307, Headers2, _} = do_request(get, Endpoint ++ "files", [], <<>>, [KnownCertOpt]),
      Loc2 = proplists:get_value(<<"location">>, Headers2),
      {ok, 307, Headers3, _} = do_request(get, Loc2, [], <<>>, [KnownCertOpt]),
      Loc3 = proplists:get_value(<<"location">>, Headers3),
  