Improve delete archive error tests.