testing search functions