made the temp dir configurable
remove temp files/folders created during tests