emacs: add a test

Test uses the `--batch` mode to execute a little bit of Emacs Lisp, `(+ 2 2)`. This seemed cleanest.