Unit test to detect document.delete() is failing
fix bugs in putProperties method().  test now passes
add getExistingDocument() api and rename createUntitled to createDocument
enhance testDeleteDocument()
fix bugs exposed by enhancing testDeleteDocument()