Added integration test for creating a new document with content