Increase determinism in DiskLruCache tests.

This kills a flaky test by dependency injecting the executor and using a test executor as a stronger signal.