raft: add tests based on section 5.3 in raft paper

for #1408 
but not all..
Some follower's log is ahead of leader's, so the leader needs some other guy to vote for him to become the leader.