request:getQueryParameters() and a whole bunch of tests.