fix up issue of product test scripts(#158)