Hi,
Transactional A/B testing is best done by the caller or an intermediary.
It is possible to do in Campaign with some sleight-of-hand, using a workflow to swap published templates every x minutes while synching/counting logs to determine a winner past a threshold, though this is not ideal.
Thanks,
-Jon