add a test for local files