fix chat test