add test and modify the buildIndex gui search