finalized test script