Test for Cocos2d-x And CORS request for images in canvas