Added test cases for model
Removed Document.prototype.update & replace
Fixed Query.prototype.find
Fixed potential bug when creating a new document instance
Added test cases of Document