Chatrooms by name test written in nodejs