Coverage: testOpenReadOnlyFile.