Added a jhn_fsm with partial test coverage.