Fix file refresh count tests