added tests for getRate() (live and cached) with nock