test code for election stuff