Test ledgerIndexMalformed against `error_message`