[testDBTablesMonitoring] Create instances with a macro.

After DBTablesMonitoring 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.