Update example using a TTY instead of assert. Buddy: Malc
Add a missing include. Buddy: Malc