write some tests for the PollModel