Fix file downloads test