fix template problem for testi