Ensure validation of string currency code

Fixes #31