old_contents: 
  /**
   * Test dependencies.
   */
  
  var Element = require('../lib/element');
  var assert = require('assert');
  
  
  describe("create", function() {
  
  	it('should create a div', function() {
  		var div = new Element('div');
  		assert.equal(div.render(), '<div></div>');
  	});
  
  	it('should create any element', function() {
  		var btn = new Element('button');
  		assert.equal(btn.render(), '<button></button>');
  	});
  
  	// it('should set innerHTML', function() {
  	// 	var btn = new Element('button');
  	// 	btn.innerHTML = 'something';
  	// 	assert.equal(btn.render(), '<button>something</button>');
  	// });
  
  });
  
  
  describe('append', function() {
  
  	it('should append an other element', function() {
  		var link = new Element('a');
  		var btn = new Element('button');
  		link.appendChild(btn);
  		assert.equal(link.render(), '<a><button></button></a>');
  	});
  
  	// we should test children as well
  	
  	it('should append multiple element', function() {
  		var link = new Element('a');
  		var first = new Element('span');
  		var second = new Element('span');
  		link.appendChild(first);
  		link.appendChild(second);
  		assert.equal(link.render(), '<a><span></span><span></span></a>');
  	});
  });
  
new_contents: 
  /**
   * Test dependencies.
   */
  
  var Element = require('../lib/element');
  var assert = require('assert');
  
  
  describe("create", function() {
  
  	it('should create a div', function() {
  		var div = new Element('div');
  		assert.equal(div.render(), '<div></div>');
  	});
  
  	it('should create any element', function() {
  		var btn = new Element('button');
  		assert.equal(btn.render(), '<button></button>');
  	});
  
  	// it('should set innerHTML', function() {
  	// 	var btn = new Element('button');
  	// 	btn.innerHTML = 'something';
  	// 	assert.equal(btn.render(), '<button>something</button>');
  	// });
  
  });
  
  
  describe('append', function() {
  
  	it('should append an other element', function() {
  		var link = new Element('a');
  		var btn = new Element('button');
  		link.appendChild(btn);
  		assert.equal(link.render(), '<a><button></button></a>');
  	});
  
  	// we should test children as well
  	
  	it('should append multiple element', function() {
  		var link = new Element('div');
  		var first = new Element('span');
  		var second = new Element('span');
  		link.appendChild(first);
  		link.appendChild(second);
  		assert.equal(link.render(), '<div><span></span><span></span></div>');
  	});
  
  	it('should append nested elements', function() {
  		var link = new Element('div');
  		var first = new Element('a');
  		var second = new Element('span');
  		link.appendChild(first);
  		first.appendChild(second);
  		assert.equal(link.render(), '<div><a><span></span></a></div>');
  	});
  });
  
subject: append nested elements