Add some controller tests and make the search not care about case.