Added explicit test for email attachments