We should test all the code paths. Either add new tests for each one (old, new, and non-firefox) or add an additional assertion to the other tests for query strings. I also prefer tests to have doc strings, though it seems this file is lacking in that regard.