Fixed build.
Added exchange rate tests.