Fix file.access test