Fix XML tests.