});
describe('Listening to document changes', function() {
+
it('Handling element node moved', function() {
var doc = getDocumentFromXML('<section><a></a><b></b></section>'),
a = doc.root.contents()[0],
expect(sectionChildren[0].getWlxmlTag()).to.equal('b');
expect(sectionChildren[1].getWlxmlTag()).to.equal('a');
});
+
it('Handling text node moved', function() {
var doc = getDocumentFromXML('<section><a></a>Alice</section>'),
a = doc.root.contents()[0],