Added tests for checkPollOngoing and closePoll.