[testDBTablesConfig] Create the instance for test with a macro.

After DBTablesConfig inherits DBTables, we will have to change the
way to make an instance for the test. This macro helps reducing
lines to be changed when the time comes.