Pull the test flow out of filesystemLoader into testBasedCacheLoader.