fix quicksearch, add Test API