Fix tests for coffeescript 1.7 and use local mocha
Add test for document recreation.
Merge pull request #16 from Dignifiedquire/del_doc

Add test for document recreation.