Issue #3541: add some tests for NPM testing

add some tests for NPM testing:
 1. cctextinput tests
 2. tilemap tests
 3. transition tests
 4. cocosbuilder tests
 5. cc.Node, layer, scheduler, LabelTTF tests