new method to delete all attachments of a feature
started writing unit tests for attachment management