Test template bug fixed