fixing vote_test