add template in test component