Refs #23947 -- Isolated some cache tests.

Thanks Diego Guimarãesi and Florian Apolloner.