test message exchange