Unit tests for Twig's CacheExtension.