Slightly extend the Document#createAttribute test.
Merge pull request #1391 from Ms2ger/createAttribute

Slightly extend the Document#createAttribute test.