Add deprecation warnings for #postmark_attachments= and #postmark_attachments.
Add a few unit tests for attachments API.