raft: fix a incorrect in testMaybeAppend
Merge pull request #1495 from xiangli-cmu/fix_raft_test

raft: fix a incorrect in testMaybeAppend