added test script for sending parts of msg object to arbitrary endpoint