tool_test: set XDG_CACHE_HOME so the test works in strict environments
tool_test: set XDG_CACHE_HOME so the test works in strict environments

Change-Id: Ia4147532830572e4720e7d4488da745540d4384d

google/copybara,google/copybara,google/copybara