OWTF 0.30 "Summer Storm II": Implemented some test for the smtp module. Refactored some methods in smtp.py to make it more testable.