It might be better to do a more integration-y test here. We could combine these two caching tests into a single test, causing the initialization to happen twice and making sure the second time it only makes one request (with the right data/url and such). That way you don't have to rely on the internal implementation of the functionality, you just make sure that it does what we want it to.