chat: test fixes