add document acceptance test