i agree that is all that can be done. But testing that does not ensure that the search api works. I was saying more on the fact that, anvil cannot be used as good testing framework for this kind of API end point and porting it to anvil is not a good idea.