test component for messaging