Fixing problem with local_file test