Added test for LocalChatManager