add controller tests for voting