Raise error for search requests with no query
Add expected response for no-query search