Add binding unit tests for cocos2d