raft: add tests based on section 5.1 in raft paper
Merge pull request #1497 from unihorn/189

raft: add tests based on section 5.1 in raft paper