Fix Editor tests.

LanguageManager.getLanguageForPath should not use URLs. Instead, it
should use local filesystem paths.