 				expect(tags).toEqual [doc2u]
 
 			it '[foo]', ->
-				watcher = doc2div1.watch '[attr]'
-				watcher.onAdd (tag) ->
-					tags.push tag
-				watcher.onRemove (tag) ->
-					utils.remove tags, tag
-				doc2u.attrs.set 'attr', '2'
-				expect(tags).toEqual [doc2u]
-				doc2u.attrs.set 'attr', undefined
+				watcher = doc2div1.watch '[attr2]'
+				watcher.onAdd (tag) ->
+					tags.push tag
+				watcher.onRemove (tag) ->
+					utils.remove tags, tag
+				doc2u.attrs.set 'attr2', '2'
+				expect(tags).toEqual [doc2u]
+				doc2u.attrs.set 'attr2', undefined
 				expect(tags).toEqual []
 
 			it '[foo=bar]', ->

		expect(elem.stringify()).toBe '<b><em></em></b><u></u><p></p>'

	describe 'queryAll() works with selector', ->
		doc2 = Element.fromHTML "<div><b><u color='blue' attr='1'><u></u></u></b></div><div attr='2'><neft:blank><em></em></neft:blank><em></em></div>"
		doc2div1 = doc2.children[0]
		doc2b = doc2div1.children[0]
		doc2u = doc2b.children[0]

			it '&[foo]', ->
				doc2u.parent = null
				watcher = doc2u.watch '&[color]'
				for node in watcher.nodes
					tags.push node
				watcher.onAdd (tag) ->
					tags.push tag
				watcher.onRemove (tag) ->
