This is different from testing the generated XML and should be a separate test.