added test coverage for vote role check on voting