added tests for Poll's was_published_recently function