Add test for changing chatrooms and sending messages