rewrote testDBClientConfig::test_createDB() without the dependency on the actual DBAgent object.

We'll apply the similar way to other existing tests that depends
on the acteual DBAgent object (i.e. DBAgentSQLite or DBAgent3)