array to XML tests