Modifired test script