Added search controller tests