more tests on search functionality