Added unit tests for Decimal::power()

Added an exception in power() when the exponent is negative.