Add missing test case for writing unknown attributes
Merge pull request #15437 from sgrif/sg-missing-test-case

Add missing test case for writing unknown attributes