CHG: modified the testing script.