Unit tests around cachingGet and lower level functionality.