Revert "fixed testDBClientConfig()."

This reverts commit a593d7f599f24964c1727c630c2c8d50f37a3178.

I wrongly fix on commit: a593d7f5.
setDatabaseDir() and getDatabaseDir() are just set and get a
record. So these should not depend on a kind of DBAgent.