minor modification to test scripts