fix transient test + fix deleting attachments
Merge pull request #10 from HH-project/dev-fix-test-attachments

(#60931478) Solve Image factory problem