working tests for Candidate and MajorityCollector