FIX: Add trivial test for lib/cache.