added jasmine test for poll view