Improve test of error message when Emacs cannot be suspended