Each of the individual query chunks has their own test, in addition to a
test for the full combination of parameters that could influence a
query.
There is also a bugfix for the tag query in here, since I want, as much
as possible, to have passing tests on every commit.
This is so we can keep the tests passing by fixing a NoMethodError when
attempting to run both the new query object and the existing code at the
same time.