Implement testing suite and create tests for Vote