Directly set path on buffer, instead of overriding editor.getPath in tests
Merge branch 'editor-set-path'