Add emacs tests for navigation by comment and thread.