Suggested fix of https://github.com/JodaOrg/joda-money/issues/10.

Test and fix of issue #10 added.