[FEATURE] Extract LedgerFormatter from test.