Adding test and fixes for Poll, PollOption and PollVote