issue #2572, Add test case for issue 2572.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
issue #2572, Optimize the code of test case for issue 2572.
Merge pull request #5159 from natural-law/develop

Add test case for issue 2572