testing chat.c task:test_chat_task