Fix file test for default behaviour