Move XML declaration test to XmlToken