Rewrite one test to avoid a case where some Python versions have output format differences (Decimal('1') vs Decimal("1")).