More tests for LoadDocument.