Added method, 'getInstance'

I guess this improves a little performance by just using a single instance of currency.

And, I am pretty new to writing tests.