Use a proper template for tests' temprorary directory

Change-Id: Ib7849bf810ae69fa3ba1e37edb69eae44a9f48a5