refactor: move testCacheConfig to test helpers
The following discussion from !822 (merged) should be addressed:
-
@stanhu started a discussion: (+1 comment) I wonder if this should all be moved into the acceptance tests, but I did the fastest thing here to test there is a data race.