Ensure that invalid pair strings with more than one underscore are only split once.
Updated tests to check for new exceptions.
Pass decimal.Decimal values to functions under test (necessary for tests to pass on Python 2.6).