Strengthen test codes for LedgerData & LedgerDataMonthly