Add test for getVote