Added vote functional test.