Bug 1000176 - Investigate and fix failure in test_sms_with_attachments