kasan_cache_create is the function that assigns the location and alloc and free metadata for the Generic mode. This function performs quite a few checks and calculations. It makes sense to add tests that kasan_cache_create assigns the metadata locations properly for various test caches.