fix the crash of callback of animation of cocos-builder in Lua and update the Textre2DTest memory alloc tes