tested with closed-type document [ci skip]