Implementation of Chat.php according to ChatTest.php unit test