simplify decimal_format test so that it works on 2.6 as well