Unit testing for outbound