Add tests for bad search queries.