[testDBTablesUse] Create instances with a macro.

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