[Carlos,nim] refactored PollFlowTest to not go directly to the database -- using the UI for everything.