Issue 2616 unit test site search apis