[test] Correct the majority & quorum methods