RequestQuery with tests