write tests for getting and deleting a document