Test improvement for cache hits