added negative test for voteResource