adds rspec tests for Vote
completes unit test writing