Clone nodes in document.
Make sure mocha tests are async.
0.3.0