[build] set HOME during tests to a known writable dir

  Defect Number:
    Reviewed By:
   Testing Done: