fix: Refined `ChatBackendControllerTest` and fixed a bug in `ChatRoom`