added tests for SearchService and SearchExtended class