Currency processing and unit tests