issue #3541 : Update test main functions of index.html and main.js. Add test cases for some modules
issue #3541 : Update test case of Chipmunk.
Merge pull request #1397 from SmallAiTT/iss3541_4_testCase

issue #3541 : Update test main functions of index.html and main.js. Add test cases for some modules