test for voting. closes #8