Small unittest for CACHE_ENABLED