search service unit test fixed