update search_by_name test method