Generalized test script.