added test for search feature