[test] Wrap everything in the `raft consens algorithm`