add search to UC

I'd actaully prefer a test for `if query:` that way it catches both missing `q` and when q is `''`.
Please also add a test for a blank search ;)