Added tests for PollServlet