raft: add TestUnstableFirstIndex
raft: add TestUnstableLastIndex
raft: add TestUnstableMaybeTerm
Merge pull request #1842 from xiang90/unstable_test

raft: add TestUnstableFirstIndex