[3.2] Fix test failure for ruby 1.8.

BigDecimal.new needs to take a string rather than an integer in ruby 1.8.