Fixed search controller tests