Revert "Don't set HOME in test, it's already there"

This reverts commit a89ed04b0ccf2b9cecc3633c2b018680b6be8090.