When a package test suite wants to write to $HOME

d/elpa-test:

ert_eval = (setq user-emacs-directory (make-temp-file "foo-test" 'dir-flag))