change tests directory to search/tests; add search engine integration