template tests