Generate dom4 tests.