Remove unused xmldom dependency.
Reorganize tests.