added 'delete attachment' feature and made it pass