Added test for fromDecimal