Added tests for Document: #11