test to add ChatManager and Connection