vote_spec.rb uncommented and refactored test