Update CurrencyConverter.php

Integrated methods from test functions