raft: add TestUnstableMaybeTerm