[TASK] Refactor acceptance tests for search module in topbar