Enforced constraints viewing polls based on date, implmetned test for that