Adding mochat unit test