add mock http to test iris and add global search fn getter