Fixed a caching test on Python 3.