Now working attachments tests