Adding template tests