tests: In test-chrono-chat, use enum constants LEAVE, etc. instead of hardwired literals.