Added testUpdateDocumentWithoutSource test