Add sample client notification test.

Displays console output when a client joins or leaves.

Refs #1274.
Refs #2025.