test for Attachment