Add test cases for EDITOR being on PATH