add script for message passing tests