added tests and fixed EuroToDollarBug