[tests] mock search endpoint