Add regression tests for EDITOR that has flags