Circumvent bugs in ledger to run python unit tests