Functional tests for text chat