update testing script. Qiu