Patch smtplib.SMTP so that the tests pass even if there is no local smtp...

... server