Add empty query string tests.
Cosmetics (tabs -> spaces + DRY)