var assert = require("assert");

describe('Array', function() {
  'use strict';
  describe('#indexOf()', function() {
    it('should return -1 when the value is not present', function(){
      assert.equal(-1, [1,2,3].indexOf(5));
      assert.equal(-1, [1,2,3].indexOf(0));
    });
  });
});

function add() {
  'use strict';
  return Array.prototype.slice.call(arguments).reduce(function(prev, curr) {
    return prev + curr;
  }, 0);
}

describe('add()', function() {
  'use strict';
  var tests = [
    {args: [1, 2],       expected: 3},
    {args: [1, 2, 3],    expected: 6},
    {args: [1, 2, 3, 4], expected: 10},
    {args: [1, 2, 3, 5], expected: 11}
  ];

  tests.forEach(function(test) {
    it('correctly adds ' + test.args.length + ' args', function() {
      var res = add.apply(null, test.args);
      assert.equal(res, test.expected);
    });
  });
});

@@ -1,55 +1,5 @@
-var assert = require(%22assert%22);%0A%0Adescribe('Array', 
+(
 func
@@ -1,28 +1,27 @@
 (function()
- 
 %7B%0A  'use strict'
@@ -26,776 +26,167 @@
 t';%0A
-  describe('#indexOf()', function() %7B%0A    it('should return -1 when the value is not present', function()%7B%0A      assert.equal(-1, %5B1,2,3%5D.indexOf(5));%0A      assert.equal(-1, %5B1,2,3%5D.indexOf(0));%0A    %7D);%0A  %7D);%0A%7D);%0A%0Afunction add() %7B%0A  'use strict';%0A  return Array.prototype.slice.call(arguments).reduce(function(prev, curr) %7B%0A    return prev + curr;%0A  %7D, 0);%0A%7D%0A%0Adescribe('add()', function() %7B%0A  'use strict';%0A  var tests = %5B%0A    %7Bargs: %5B1, 2%5D,       expected: 3%7D,%0A    %7Bargs: %5B1, 2, 3%5D,    expected: 6%7D,%0A    %7Bargs: %5B1, 2, 3, 4%5D, expected: 10%7D,%0A    %7Bargs: %5B1, 2, 3, 5%5D, expected: 11%7D%0A  %5D;%0A%0A  tests.forEach(function(test) %7B%0A    it('correctly adds ' + test.args.length + ' args', function() %7B%0A      var res = add.apply(null, test.args);%0A      assert.equal(res, test.expected
+%0A  var should = require(%22should%22);%0A%0A  describe('Basics', function() %7B%0A    it('1 + 1 should equal 2', function(done)%7B%0A      (1 + 1).should.equal(2);%0A      done(
 );%0A 
@@ -200,10 +200,12 @@
   %7D);%0A%7D)
+()
 ;%0A

Changed the basic test to 1+1=2