Ensure attachment dat is replaced, not updated
Rework tests for clarity and better coverage
Merge pull request #720 from alphagov/fix-attachment-data-replacement

Bugfix: Ensure attachment data is replaced, not updated