added tests for polls