Added tests for polls index view