var createQUnitStartFn = function (tc, runnerPassedIn) {
	return function () {
    var runner = runnerPassedIn || window.QUnit;
		var totalNumberOfTest = 0;
		var timer = null;
    var testResult = {};

		runner.done(function () {
			tc.info({ total: totalNumberOfTest });
			tc.complete({
       coverage: window.__coverage__
      });
		});

		runner.testStart(function (test) {
			totalNumberOfTest += 1;
			timer = new Date().getTime();
      testResult = { success: true, errors: [] };
		});

    runner.log(function (details) {
      if (!details.result) {
        testResult.success = false;
        testResult.errors.push(details.message + (details.source ? ('\n' + details.source) : ''));
      }
    });

		runner.testDone(function (test) {
			var result = {
				description: test.name,
				suite: test.module && [test.module] || [],
				success: testResult.success,
				log: testResult.errors || [],
				time: new Date().getTime() - timer
			};

			tc.result(result);
		});
	};
};

var createDumpFn = function (tc, serialize) {
	return function () {

		var args = Array.prototype.slice.call(arguments, 0);

		if (serialize) {
			for (var i = 0; i < args.length; i++) {
				args[i] = serialize(args[i]);
			}
		}

		tc.info({ dump: args });
	};
};

@@ -46,25 +46,26 @@
 PassedIn) %7B%0A
-%09
+  
 return funct
@@ -122,18 +122,20 @@
 .QUnit;%0A
-%09%09
+    
 var tota
@@ -153,18 +153,20 @@
 st = 0;%0A
-%09%09
+    
 var time
@@ -201,18 +201,20 @@
  = %7B%7D;%0A%0A
-%09%09
+    
 runner.d
@@ -231,19 +231,22 @@
 on () %7B%0A
-%09%09%09
+      
 tc.info(
@@ -276,19 +276,22 @@
 est %7D);%0A
-%09%09%09
+      
 tc.compl
@@ -347,17 +347,21 @@
 %7D);%0A
-%09%09
+    
 %7D);%0A%0A
-%09%09
+    
 runn
@@ -391,19 +391,22 @@
 test) %7B%0A
-%09%09%09
+      
 totalNum
@@ -421,19 +421,22 @@
 t += 1;%0A
-%09%09%09
+      
 timer = 
@@ -507,18 +507,20 @@
 : %5B%5D %7D;%0A
-%09%09
+    
 %7D);%0A%0A   
@@ -733,18 +733,20 @@
    %7D);%0A%0A
-%09%09
+    
 runner.t
@@ -771,19 +771,22 @@
 test) %7B%0A
-%09%09%09
+      
 var resu
@@ -792,20 +792,24 @@
 ult = %7B%0A
-%09%09%09%09
+        
 descript
@@ -824,20 +824,24 @@
 t.name,%0A
-%09%09%09%09
+        
 suite: t
@@ -875,20 +875,24 @@
  %7C%7C %5B%5D,%0A
-%09%09%09%09
+        
 success:
@@ -912,20 +912,24 @@
 uccess,%0A
-%09%09%09%09
+        
 log: tes
@@ -950,20 +950,24 @@
  %7C%7C %5B%5D,%0A
-%09%09%09%09
+        
 time: ne
@@ -997,18 +997,24 @@
 mer%0A
-%09%09%09%7D;%0A%0A%09%09%09
+      %7D;%0A%0A      
 tc.r
@@ -1032,15 +1032,18 @@
 t);%0A
-%09%09
+    
 %7D);%0A
-%09
+  
 %7D;%0A%7D
@@ -1091,17 +1091,18 @@
 lize) %7B%0A
-%09
+  
 return f
@@ -1115,18 +1115,20 @@
 n () %7B%0A%0A
-%09%09
+    
 var args
@@ -1173,18 +1173,20 @@
 s, 0);%0A%0A
-%09%09
+    
 if (seri
@@ -1194,19 +1194,22 @@
 lize) %7B%0A
-%09%09%09
+      
 for (var
@@ -1244,12 +1244,16 @@
 ) %7B%0A
-%09%09%09%09
+        
 args
@@ -1282,20 +1282,27 @@
 %5D);%0A
-%09%09%09%7D%0A%09%09%7D%0A%0A%09%09
+      %7D%0A    %7D%0A%0A    
 tc.i
@@ -1326,9 +1326,10 @@
 %7D);%0A
-%09
+  
 %7D;%0A%7D

fix indentation