tests for voting system