Messaging framework and test