Add test for message exchange