Tidy up testing web searches.

Note, interestingly, that the unquote in handler/search.py is
redundant (in any version). The data is already unquoted.