Fix File.separator issues in tests