Create temporary files by default in a scratch directory. Reviewed-by: alanb, chegar
Change name of "work" temp directory to "TestName" Reviewed-by: rriggs
Reviewed-by: chegar