Fixing test cases
Fix getFileInfo when not local file