added template tests