Testing automation script