Auto-search for test type in sample list.