Fix editor junit headless