hunk.code_window:       expect(root.prev).to.be(null);
         expect(root.parent).to.be(null);
         var child = root.children[0];
         expect(child.parent).to.equal(root);
       }
       it('should add root to: ' + basic, function() {
         var root = parse(basic);
         rootTest(root);
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:       expect(child.parent).to.be(null);
  
hunk.file_path: test/parse.js
hunk.type: replace
file: /**
   * Module Dependencies
   */
  var entities = require('entities');
  
  /**
   * HTML Tags
   */
  
  var tags = { tag: true, script: true, style: true };
  
  /**
   * Check if the DOM element is a tag
   *
   * isTag(type) includes <script> and <style> tags
   */
  
  exports.isTag = function(type) {
    if (type.type) type = type.type;
    return tags[type] || false;
  };
  
  /**
   * Convert a string to camel case notation.
   * @param  {String} str String to be converted.
   * @return {String}     String in camel case notation.
   */
  
  exports.camelCase = function(str) {
    return str.replace(/[_.-](\w|$)/g, function(_, x) {
      return x.toUpperCase();
    });
  };
  
  /**
   * Expose encode and decode methods from FB55's node-entities library
   *
   * 0 = XML, 1 = HTML4 and 2 = HTML5
   */
  
  exports.encode = function(str) { return entities.encode(String(str), 0); };
  exports.decode = function(str) { return entities.decode(str, 2); };
  