add raft instance restart test and pass it