add first tests (for chat.js)