Wrote tests to check adding past and future polls to the database