Tests and mock server support for chat lines