Modifed test script