raft: add TestUnstableTruncateAndAppend
Merge pull request #1845 from xiang90/testunstable

raft: add TestUnstableTruncateAndAppend