Tests for the BigDecimal functions