Wrap test file removal with non-fatal test assertion.