test script structure