Adding search to Task controller and testing