Fixed test failures due to IE11 attribute order in XML DOM builder.

In the Builder portion of the test suite, IE11 was generating XML attributes in a different order from other browsers. I created a regex-based assertion to test the emitted XML, tested with IE11, FireFox, and Chrome.