fix the blend crash in some cases
adjust some test cases, use original template file name in Haar
Merge pull request #582 from bitwangyaoyao:2.4_fixBlend
Merge pull request #584 from bitwangyaoyao:2.4_perfTest