Previous commit was a breaking change. Fixed in this commit. Removed
tests using session vars in CreateDocumentByIdFromContentTestCases and
CreateDocumentByIdTestCases.