begin test Document model