Add overloading method of commomPrefixSearch()
Update test