Bug 851385, Fix up xml deprecation warning in tests, r=bhearsum