Fixed error handling so that the votes twice test passes when an exception is thrown by the contract.
Fixed error handling so that the votes twice test passes when an exception is thrown by the contract.

cruskit/truffle-voting-example,cruskit/truffle-voting-example