Set XDG_CACHE_HOME to temp dir in tests/whack_test.py