[cocos2d] add test for Mac bindings