Add test seams on some of the functions used by the SMTP library. This will allow the main testing framework to inject return values at certain points in order to test different error conditions.