test and add search feature
add test for search functionality