added cases for voting_write