Tests fixing for unread messages counter