Searching with testing