PollTests.java added with a few tests.

Poll.java:
checkPollPeriod() changed to set the Poll to open when time is greater or equal than
the start date AND less than the end date.