write PollViewTests test case methods