add currency manager functions and relative test functions