Added some new tests and modified so only polls with at least 2 choices can be published.