Infrastructure for test cases

test/xmlcompare.py contains a test case class that allows one to
compare XML trees. All tests are modules and should be executed by
running

    python3 -m unittest

in the project directory.