[TableRecord, DbMole] Corrected testing structures & tests