Updated testing scripts to utilize the newer stored routines, and adding a 'cast vote' routine.