Fixing createDocumentFromSource test. Thx @johnboxall for the assist!