fixed template test.