[nim] Creating a functional test for the view poll workflow