Bug 65854: Use revert() instead of close() when OPCPackage is opened read-only Also add tests, however it is not possible to verify that no logging takes place, so you have to use debugging to verify it.