Test: Adding a document