adding spec for valid templates