adjust some test cases, use original template file name in Haar