Added createVote test helper.