capy test for search. closed #177 closed #180