for cocos2d testing