Add XML unit tests.