Adjusted the generated test code.
Ignore Emacs temporary files.