added test for currencyFormat