Slightly extend the Document#createAttribute test.