test template based on core