add 'Q' option to emacs test command