Added tests for the search service