add specs for template