Added more voting tests, and made adjustments to voting workflow. Fixes #192 and first part of #191.