Bipilesh,Gaurav | refactored basicSearchText class and wrote test