Implement testing suite and create tests for Votes