anchor.diff:      });
   
       test('query id', () {
  -      document.register('x-type9', CustomType);
  +      var tag = nextTag;
  +      document.register(tag, CustomType);
         var element = new DivElement();
  -      element.innerHtml = '<x-type9 id="someid"></x-type9>';
  +      element.innerHtml = '<$tag id="someid"></$tag>';
         document.body.nodes.add(element);
         var queried = query('#someid');
   
  
positive.code:         firedOnPre = true;
        });
  
        document.register('x-type7', CustomType);
  
        var postElement = dom.children[0];
        expect(postElement, isNotNull);
  
negative.code: 
    group('innerHtml', () {
      test('query', () {
        var tag = nextTag;
        document.register(tag, CustomType);
        var element = new DivElement();
        element.innerHtml = '<$tag></$tag>';
        document.body.nodes.add(element);
        var queried = query(tag);
  
        expect(queried, isNotNull);
        expect(queried is CustomType, isTrue);
  