Add unit tests for currency spec