add document and field test script