1.  Modify component test to testcpp, and supported for all platforms except for windows.
2.  Fixes auto-js-script error.