Problem: Code and data in tests can be hard to read. Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes #4400)
Problem: No autocommand triggered before exiting. Solution: Add the ExitPre autocommand event.