[cocos2d] Fix the tests following the changes in maccore
Merge pull request #126 from StephaneDelcroix/fixtests

[cocos2d] Fix the tests following the changes in maccore