Modify test script for Jenkins.