Update cache_tests.py