Fixed a bug where polls could be published in the future and display as recently published!
Added test cases for the recently published method of polls