You'd use a message filter. (in the CLI).
Check the online help for how to get there. Specifically a section called "Using the CLI to Manage Message Filters"
You'll want something like this:
if (true) {
bcc ("$EnvelopeRecipients", "$Subject", "$EnvelopeFrom", "[IP of test appliance]");
}