Implemeted testing suite and created tests for Vote.