Add test for cache_version