added raw template builder tests