Test dbtables action declare

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.