Added tests for the vote class methods.

tasellielund
kkuhn
wlparker