added todo
added tests for the quorum
changed tests for quorum