Test cases for getAllAttachments and getAllAttachmentURLs