TEST:Insertion and deletion of the attachment