Fix unit tests breakage due to Specs_t

Make sure that all unit tests in Specs_t use the temp directory
to store sandboxes and emulators for DBS

Fixes #4363
Merge pull request #4387 from dballesteros7/unitTest-fix

Fix unit tests breakage due to Specs_t