[server][test][DBTablesAction] add constraint to get DB contents for test validation