ESC key handling testing