Create and test document CRUD