[Argha, Luiza] Refactoring functional tests for poll flow