Adds tests for polls index view