Add coverage for notify_chat.