cocos2d-x test codes