TDD for FSM in JavaScript [pdf] | Hacker News Reader