UI: Search tests

review: http://mrccodereview.cloudapp.net/ui#review:id=1168