Added tests and vailidations for poll and options