raft: add tests for stableTo