New TestCountCache is only updated if needed, and used in shell script.