Updated the test for the new defined methods in search engine