Tests for writeAttributeNS and xmlwriter_write_attribute_ns