document model test