Fix tests.
Remove unused xmldom dependency.