Add general document auto test script