Test magit with emacs