Test template extension