test magit in Emacs