XML unit test