Add timeout-aware cache tests