 -        setup: function(config, done){
 -          rimraf(tempDir + '/testem.chromium', done)
 +        tearDown: function(){
-+          rimraf(tempDir.chromium, function() {});
++          removeTestemFilesFromTemporaryDirectory()
          },
          supported: findableByWhich
        },

-          rimraf(tempDir + '/testem.opera', done)
+        args: ["-pd", tempDir.opera],
+        tearDown: function(){
+          rimraf(tempDir.opera, function() {})
         },
         supported: browserExeExists
       },
@@ -180,35 +185,32 @@
       {
         name: 'Firefox',
         exe: 'firefox',

         setup: function(config, done){
-          setupFirefoxProfile(tempDir + '/testem.firefox', done)
+          setupFirefoxProfile(tempDir.firefox, done)
+        },
+        tearDown: function(){
+          removeTestemFilesFromTemporaryDirectory()
         },
         supported: browserExeExists
       },
@@ -81,9 +104,9 @@
           "C:\\Program Files\\Google\\Chrome\\Application\\Chrome.exe",
           "C:\\Program Files (x86)\\Google\\Chrome\\Application\\Chrome.exe"
         ],
