Added voting instructions and votingIds to select.
Added voting.
Unit tests for voting.