Moving methods from BaseSMTPServerTest to AsyncSMTPTestCase.
Unused code.