update minified version and clean up testcase