Use SettingsOverride(…) for cache test

Fix recently written test to use SettingsOverride instead of crude ad hoc approximation.