Added new test for search functionality