Added test cases for Poll and Fixed was_published_recently method