More functions.

Use DBUnit to prepare test database and verify database. (Also provide
one tool to generate the XML and DTD.)