[webui] Adapt search controller test