Testing the chat functionality of socket.IO