anchor.diff:  malformed_request_test() ->
       {ok, Meck} = start_meck(),
       try
  -        State = #state{},
           Requests = [
  -                                                % GOOD request
  +                    % GOOD request
                       {#{ path_info => [<<"v1">>,<<"oidcp">>],
                           header => [],
                           method => <<"GET">>,
  
positive.code: 
          Test  = fun({Request, ExpResult}, _) ->
                          io:format("testing with request ~p~n",[Request]),
                          {Result, Request, _} = watts_http_api:malformed_request(Request,
                                                                              State),
                          io:format("got result ~p, expecting ~p~n",[Result, ExpResult]),
                          ?assertEqual(ExpResult, Result),
                          ok
                  end,
  
negative.code: rest_init_test() ->
      {ok, Meck} = start_meck(),
      try
          Req = #{path_info => [<<"v2">>,<<"info">>],
                          header => [],
                          method => <<"GET">>,
                          body => []},
          {ok, Req, State} = watts_http_api:rest_init(Req, doesnt_matter),
          #{version := _Version,
            type := _Type,
            id := _Id,
            token := _Token,
            issuer := _Issuer,
            session := _CookieSession,
            method := _Method,
            content := _ContentType,
            body := _Body,
            header_used := _HeaderUsed} = State#state.in
      after
          ok = stop_meck(Meck)
      end,
  