Add search_by_name
Add tests for search_by_name