Document and comment some attachments code
Add test for adding >1 attachment in one go