Ask HN: Writing tests for a consensus algorithm implementation | Hacker News Reader