Test template generic