emacs: Remove outdated references to ~ in tests