pub fn new_test_vote_tx<R>(rng: &mut R) -> Transaction where
    R: CryptoRng + RngCore