added test for message detach all attachments