[fix] unit test for currencyType